import Vue from 'vue'
import DocumentIndex from './Index'
import router from '../../router/documents'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueResource from 'vue-resource'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(VueResource)

/* eslint-disable no-new */
new Vue({
  el: '#document',
  router,
  // components: { Document },
  // template: '<Document/>',
  render: h=>h(DocumentIndex)
})
